﻿
namespace Sissonix.ExtRest.WADL
{
    public enum HttpStatusCode
    {
        /* 1xx INFORMATION *****************/
        Continue_100                    =100,
        SwitchingProtocols_101          =101,
        Processing_102                  =102,
        
        /* 2xx SUCCESS *********************/
        OK_200                          =200,
        Created_201                     =201,
        Accepted_202                    =202,
        NonAuthoritativeInformation_203 =203,
        NoContent_204                   =204,
        ResetContent_205                =205,
        PartialContent_206              =206,
        MultiStatus_207                 =207,
        IMUsed_226                      =226,
        
        /* 3xx REDIRECTION *****************/
        MultipleChoices_300             =300,
        MovedPermanently_301            =301,
        Found_302                       =302,
        SeeOther_303                    =303,
        NotModified_304                 =304,
        UseProxy_305                    =305,
        Reserved_306                    =306,
        TemporaryRedirect_307           =307,
        
        /* 4xx CLIENT ERROR ****************/
        BadRequest_400                  =400,
        Unauthorized_401                =401,
        PaymentRequired_402             =402,
        Forbidden_403                   =403,
        NotFound_404                    =404,
        MethodNotAllowed_405            =405,
        NotAcceptable_406               =406,
        ProxyAuthenticationRequired_407 =407,
        RequestTimeout_408              =408,
        Conflict_409                    =409,
        Gone_410                        =410,
        LengthRequired_411              =411,
        PreconditionFailed_412          =412,
        RequestEntityTooLarge_413       =413,
        RequestURITooLong_414           =414,
        UnsupportedMediaType_415        =415,
        RequestedRangeNotSatisfiable_416=416,
        ExpectationFailed_417           =417,
        UnprocessableEntity_422         =422,
        Locked_423                      =423,
        FailedDependency_424            =424,
        UpgradeRequired_426             =426,
        
        /* 5xx SERVER ERROR ****************/
        InternalServerError_500         =500,
        NotImplemented_501              =501,
        BadGateway_502                  =502,
        ServiceUnavailable_503          =503,
        GatewayTimeout_504              =504,
        HTTPVersionNotSupported_505     =505,
        VariantAlsoNegotiates_506       =506,
        InsufficientStorage_507         =507,
        NotExtended_510                 =510
    }
}
